package com.lizhi.note.service;



import com.lizhi.note.dto.NotebookDTO;

import java.util.List;
import java.util.Optional;

public interface NotebookService {

    NotebookDTO createNotebook(NotebookDTO notebookDto);

    Optional<NotebookDTO> getNotebookById(Long id);

    List<NotebookDTO> getAllNotebooks();

    NotebookDTO updateNotebook(NotebookDTO notebookDto);

    void deleteNotebook(Long id);
}
